
<table>
	<tr align="center">
		<th>员工</th>
		<th>名称</th>
		<th>考勤</th>
		<th colspan="2"></th>
		
		<th>应发</th>
		<th>实发</th>
		<th colspan="2"></th>
		
		<th>对私</th>
		<th>对公</th>
		<th colspan="2"></th>
	</tr>
	{[foreach name=outer key=key item=item from=$result]} 
	{[assign var="no" value="`$key+$pager->from+1`"]} 
	{[assign var="t1" value="`$t1+$item.t1`"]} 
	{[assign var="t2" value="`$t2+$item.t2`"]} 
	{[assign var="ns" value="`$ns+$item.ns`"]} 
	{[assign var="sj" value="`$sj+$item.sj`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$item.emp_t]}</td>
		<td>{[$item.name|truncate:22:"...":true]}</td>
		<td>{[$item.d1]}|{[$item.d2]}</td>
		<td>{[$item.per.d2]}</td>
		<td><span class="ui-icon {[$item.avg.d2]}"></span></td>
		
		<td>{[$item.t1|money]}</td>
		<td>{[$item.t2|money]}</td>
		<td>{[$item.per.t2]}</td>
		<td><span class="ui-icon {[$item.avg.t2]}"></span></td>
		
		<td>{[$item.ns|money]}</td>
		<td>{[$item.sj|money]}</td>
		<td>{[$item.per.sj]}</td>
		<td><span class="ui-icon {[$item.avg.sj]}"></span></td>
	</tr>
	{[/foreach]}
	<tr align="center">
		<td colspan="5"></td>
		<td>{[$t1|money]}</td>		
		<td>{[$t2|money]}</td>
		<td colspan="2"></td>
		
		<td>{[$ns|money]}</td>
		<td>{[$sj|money]}</td>
		<td colspan="2"></td>
	</tr>
</table>
